<!DOCTYPE html>
<html>

	<head>
		<script type="text/javascript" src="../../js/jquery-1.8.3.js" ></script>
		<script type="text/javascript" src="../../citypicker/js/city-picker.data.js" ></script>
		<script type="text/javascript" src="../../citypicker/js/city-picker.js" ></script>
		<link rel="stylesheet" href="../../citypicker/css/city-picker.css" />

		<meta charset="UTF-8">
		<title>省市区三级联动</title>
		<script type="text/javascript">
			$(function() {  
				$("#area").citypicker();

				$("#fz").click(function() {
					$("#area").citypicker('reset');
					$("#area").citypicker('destroy');
					$("#area").citypicker({
						province: "江苏省",
						city: "常州市",
						district: "溧阳市"
					});
				});
			});
		</script>
	</head>

	<body>

		<div style="position: relative;">
			<input id="area" name="area" type="text" size="150" />
			<input id="fz" type="button" value="赋值" />
		</div>
	</body>

</html>